#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int main()
{
	int n;
	char c;
	char d;
	scanf("%d", &n);
	scanf("%c", &c);
	scanf("%c", &c);
	int times;
	if (n % 2 == 0)
	{
		times = n / 2;
	}
	else
	{
		times = n / 2 + 1;
	}
	for (int i = 0; i < times; i++)
	{
		for (int j = 0; j < n; j++)
		{
			printf("%c", c);
		}
		printf("\n");
	}
	system("PAUSE");
	return 0;
}